package com.kgc.novel;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

/**
 * @author mac 启动类
 */
@SpringBootApplication
@EnableTransactionManagement
@MapperScan(basePackages = "com.kgc.novel.dao")
@EnableDiscoveryClient //开启服务注册和发现功能
public class BookServiceApplication_8001 {
    public static void main(String[] args) {
        SpringApplication.run(BookServiceApplication_8001.class, args);
    }
}
